package org.kotboot.module;

import org.kotboot.enums.CodeEnum;

/**
 * jisong.sun 2017/9/19 9:21
 */
public enum  ResCode{

    SUC("200"),
    ERR("500"),
    PARAM("REQ400");

    private String code;

    ResCode(String code){
        this.code = code;
    }

    public String code() {
        return code;
    }

    @Override
    public String toString() {
        return this.code;
    }
}
